﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/Main.Master" AutoEventWireup="true"
    CodeBehind="ValidateDemo.aspx.cs" Inherits="AUV5.Web.Testing.ValidateDemo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../!js/jquery-validate/demo/css/cmxform.css" rel="stylesheet" type="text/css" />
    <!-- for styling the form -->
    <script type="text/javascript">
        $(document).ready(function () {
            $("#aspnetForm").validate();
        });
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <fieldset id="form1">
        <legend>Please provide your name, email address (won't be published) and a comment</legend>
        <p>
            <label for="cname">
                Name (required, at least 2 characters)</label>
            <input id="cname" name="name" class="required" minlength="2" maxlength="3" />
            <p>
                <label for="cemail">
                    E-Mail (required)</label>
                <input id="cemail" name="email" class="required email" />
            </p>
            <p>
                <label for="curl">
                    URL (optional)</label>
                <input id="curl" name="url" class="url" value="" />
            </p>
            <p>
                <label for="ccomment">
                    Your comment (required)</label>
                <textarea id="ccomment" name="comment" class="required"></textarea>
            </p>
            <p>
                <input class="submit" type="submit" value="Submit" />
            </p>
    </fieldset>
</asp:Content>
